package com.gxgy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @description: 学生表
 * @author: Qin Fengang
 * @date: 2021-11-11
 */
@TableName("student")
public class Student {
	
	//学生表编号
	public final static String ID = "id";
	@TableId
	private String id;
	
	//学生学号
	public final static String STUDENT_NUMBER = "student_number";
	@TableField("student_number")
	private String studentNumber;
	
	//学生姓名
	public final static String STUDENT_NAME = "student_name";
	@TableField("student_name")
	private String studentName;
	
	//学生性别
	public final static String STUDENT_SEX = "student_sex";
	@TableField("student_sex")
	private Integer studentSex;
	
	//学生年龄
	public final static String STUDENT_AGE = "student_age";
	@TableField("student_age")
	private Integer studentAge;
	// 学生年级
	public final static String STUDENT_YEAR = "student_year";
	@TableField("student_year")
	private String studentYear;
	
	//学生班级
	public final static String STUDENT_CLASS = "student_class";
	@TableField("student_class")
	private String studentClass;
	
	//创建时间
	public final static String CREATE_TIME = "create_time";
	@TableField("create_time")
	private String createTime;

	public Student() {
		super();
	}

	public Student(String id, String studentNumber, String studentName, Integer studentSex, Integer studentAge,
			String studentYear, String studentClass, String createTime) {
		super();
		this.id = id;
		this.studentNumber = studentNumber;
		this.studentName = studentName;
		this.studentSex = studentSex;
		this.studentAge = studentAge;
		this.studentYear = studentYear;
		this.studentClass = studentClass;
		this.createTime = createTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStudentNumber() {
		return studentNumber;
	}

	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public Integer getStudentSex() {
		return studentSex;
	}

	public void setStudentSex(Integer studentSex) {
		this.studentSex = studentSex;
	}

	public Integer getStudentAge() {
		return studentAge;
	}

	public void setStudentAge(Integer studentAge) {
		this.studentAge = studentAge;
	}

	public String getStudentYear() {
		return studentYear;
	}

	public void setStudentYear(String studentYear) {
		this.studentYear = studentYear;
	}

	public String getStudentClass() {
		return studentClass;
	}

	public void setStudentClass(String studentClass) {
		this.studentClass = studentClass;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", studentNumber=" + studentNumber + ", studentName=" + studentName
				+ ", studentSex=" + studentSex + ", studentAge=" + studentAge + ", studentYear=" + studentYear
				+ ", studentClass=" + studentClass + ", createTime=" + createTime + "]";
	}
	
	
	

}
